home *** CD-ROM | disk | FTP | other *** search
/ The Net Power 1997 March / NetPower_3-97.mdf / newtools / realau / raplay~1 / RealAudio Daemon.rsrc / CODE_17_UtilMain.txt < prev    next >
Text File  |  1996-04-03  |  22KB  |  406 lines

  1. # near model CODE resource
  2. # jump table entries: 40-41 (2 of them)
  3. 00000000  0000 0028                ori.b      D0, 0x28 /* '(' */
  4. 00000004  0000 03E8                ori.b      D0, 0xE8
  5. fn00000008:
  6. 00000008  4E56 FFFC                link       A6, -0x0004
  7. 0000000C  594F                     subq.w     A7, 4
  8. 0000000E  3F3C AA6E                move.w     -[A7], 0xAA6E
  9. 00000012  1F3C 0001                move.b     -[A7], 0x1
  10. 00000016  4EB9 0000 0238           jsr        [0x00000238]
  11. 0000001C  205F                     movea.l    A0, [A7]+
  12. 0000001E  2D48 FFFC                move.l     [A6 - 0x4], A0
  13. 00000022  594F                     subq.w     A7, 4
  14. 00000024  3F3C A86E                move.w     -[A7], 0xA86E
  15. 00000028  1F3C 0001                move.b     -[A7], 0x1
  16. 0000002C  4EB9 0000 0238           jsr        [0x00000238]
  17. 00000032  205F                     movea.l    A0, [A7]+
  18. 00000034  B1EE FFFC                cmpa.l     A0, [A6 - 0x4]
  19. 00000038  6606                     bne        +0x8 /* 00000040 */
  20. 0000003A  303C 0200                move.w     D0, 0x200
  21. 0000003E  6004                     bra        +0x6 /* 00000044 */
  22. label00000040:
  23. 00000040  303C 0400                move.w     D0, 0x400
  24. label00000044:
  25. 00000044  4E5E                     unlink     A6
  26. 00000046  4E75                     rts
  27. 00000048  8F4E 756D                pack       -[A7], -[A6], 0x756D
  28. 0000004C  546F 6F6C                addq.w     [A7 + 0x6F6C], 2
  29. 00000050  626F                     bhi        +0x71 /* 000000C1 */
  30. 00000052  7854                     moveq.l    D4, 0x54
  31. 00000054  7261                     moveq.l    D1, 0x61
  32. 00000056  7073                     moveq.l    D0, 0x73
  33. 00000058  0000 302F                ori.b      D0, 0x2F /* '/' */
  34. // begin alternate branch 0000005A-00000064
  35. fn0000005A:
  36. 0000005A  302F 0004                move.w     D0, [A7 + 0x4]
  37. 0000005E  0280 0000 0800           andi.l     D0, 0x800
  38. // end alternate branch 0000005A-00000064
  39. fn0000005A: // (misaligned)
  40. 0000005C  0004 0280                ori.b      D4, 0x80
  41. 00000060  0000 0800                ori.b      D0, 0x0
  42. 00000064  6604                     bne        +0x6 /* 0000006A */
  43. 00000066  7000                     moveq.l    D0, 0x00
  44. 00000068  4E75                     rts
  45. label0000006A:
  46. 0000006A  7001                     moveq.l    D0, 0x01
  47. 0000006C  4E75                     rts
  48. 0000006E  8B47 6574                pack       D5, D7, 0x6574
  49. 00000072  5472 6170 5479 7065      addq.w     [A2 + 0x54797065], 2
  50. 0000007A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  51. // begin alternate branch 0000007C-00000080
  52. fn0000007C:
  53. 0000007C  4E56 FFFC                link       A6, -0x0004
  54. // end alternate branch 0000007C-00000080
  55. fn0000007C: // (misaligned)
  56. 0000007E  FFFC                     .invalid   <<F/7/7>>
  57. 00000080  48E7 1800                movem.l    -[A7], D3,D4
  58. 00000084  362E 0008                move.w     D3, [A6 + 0x8]
  59. 00000088  3F03                     move.w     -[A7], D3
  60. 0000008A  4EBA FFCE                jsr        [PC - 0x32 /* 0000005A */]
  61. 0000008E  1800                     move.b     D4, D0
  62. 00000090  0C04 0001                cmpi.b     D4, 0x1
  63. 00000094  544F                     addq.w     A7, 2
  64. 00000096  6610                     bne        +0x12 /* 000000A8 */
  65. 00000098  4EBA FF6E                jsr        [PC - 0x92 /* 00000008 */]
  66. 0000009C  0243 07FF                andi.w     D3, 0x7FF
  67. 000000A0  B640                     cmp.w      D3, D0
  68. 000000A2  6D04                     blt        +0x6 /* 000000A8 */
  69. 000000A4  363C A89F                move.w     D3, 0xA89F
  70. label000000A8:
  71. 000000A8  594F                     subq.w     A7, 4
  72. 000000AA  3F03                     move.w     -[A7], D3
  73. 000000AC  1F04                     move.b     -[A7], D4
  74. 000000AE  4EB9 0000 0238           jsr        [0x00000238]
  75. 000000B4  205F                     movea.l    A0, [A7]+
  76. 000000B6  2D48 FFFC                move.l     [A6 - 0x4], A0
  77. 000000BA  594F                     subq.w     A7, 4
  78. 000000BC  3F3C A89F                move.w     -[A7], 0xA89F
  79. 000000C0  1F3C 0001                move.b     -[A7], 0x1
  80. 000000C4  4EB9 0000 0238           jsr        [0x00000238]
  81. 000000CA  205F                     movea.l    A0, [A7]+
  82. 000000CC  B1EE FFFC                cmpa.l     A0, [A6 - 0x4]
  83. 000000D0  56C0                     sne        D0
  84. 000000D2  4400                     neg.b      D0
  85. 000000D4  49C0                     lea.l      A4, D0
  86. 000000D6  4CDF 0018                movem.l    D3,D4, [A7]+
  87. 000000DA  4E5E                     unlink     A6
  88. 000000DC  4E75                     rts
  89. 000000DE  8A54                     or.w       D5, [A4]
  90. 000000E0  7261                     moveq.l    D1, 0x61
  91. 000000E2  7045                     moveq.l    D0, 0x45
  92. 000000E4  7869                     moveq.l    D4, 0x69
  93. 000000E6  7374                     moveq.l    D1, 0x74
  94. 000000E8  7300                     moveq.l    D1, 0x00
  95. 000000EA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  96. // begin alternate branch 000000EC-000000F0
  97. fn000000EC:
  98. 000000EC  4E56 FFEC                link       A6, -0x0014
  99. // end alternate branch 000000EC-000000F0
  100. fn000000EC: // (misaligned)
  101. 000000EE  FFEC                     .invalid   <<F/7/7>>
  102. 000000F0  7001                     moveq.l    D0, 0x01
  103. 000000F2  41EE FFF0                lea.l      A0, [A6 - 0x10]
  104. 000000F6  A090                     syscall    SysEnvirons
  105. 000000F8  554F                     subq.w     A7, 2
  106. 000000FA  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  107. 000000FE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  108. 00000102  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  109. 00000106  486E FFEC                pea.l      [A6 - 0x14]
  110. 0000010A  4EB9 0000 02B8           jsr        [0x000002B8]
  111. 00000110  301F                     move.w     D0, [A7]+
  112. 00000112  48C0                     ext.l      D0
  113. 00000114  670C                     beq        +0xE /* 00000122 */
  114. 00000116  206E 0008                movea.l    A0, [A6 + 0x8]
  115. 0000011A  4250                     clr.w      [A0]
  116. 0000011C  206E 000C                movea.l    A0, [A6 + 0xC]
  117. 00000120  4290                     clr.l      [A0]
  118. label00000122:
  119. 00000122  4E5E                     unlink     A6
  120. 00000124  4E75                     rts
  121. 00000126  8F47 6574                pack       D7, D7, 0x6574
  122. 0000012A  5379 7374 656D           subq.w     [0x7374656D], 1
  123. 00000130  466F 6C64                not.w      [A7 + 0x6C64]
  124. 00000134  6572                     bcs        +0x74 /* 000001A8 */
  125. 00000136  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  126. // begin alternate branch 00000138-0000013C
  127. fn00000138:
  128. 00000138  4E56 FFFC                link       A6, -0x0004
  129. // end alternate branch 00000138-0000013C
  130. fn00000138: // (misaligned)
  131. 0000013A  FFFC                     .invalid   <<F/7/7>>
  132. 0000013C  48E7 1030                movem.l    -[A7], D3,A2,A3
  133. 00000140  266E 0008                movea.l    A3, [A6 + 0x8]
  134. 00000144  246E 000C                movea.l    A2, [A6 + 0xC]
  135. 00000148  7600                     moveq.l    D3, 0x00
  136. 0000014A  3F3C A1AD                move.w     -[A7], 0xA1AD
  137. 0000014E  4EBA FF2C                jsr        [PC - 0xD4 /* 0000007C */]
  138. 00000152  4A00                     tst.b      D0
  139. 00000154  544F                     addq.w     A7, 2
  140. 00000156  6714                     beq        +0x16 /* 0000016C */
  141. 00000158  203C 666F 6C64           move.l     D0, 0x666F6C64 /* 'fold' */
  142. 0000015E  43EE FFFC                lea.l      A1, [A6 - 0x4]
  143. 00000162  A1AD                     syscall    Gestalt, flags=1
  144. 00000164  2288                     move.l     [A1], A0
  145. 00000166  48C0                     ext.l      D0
  146. 00000168  6602                     bne        +0x4 /* 0000016C */
  147. 0000016A  7601                     moveq.l    D3, 0x01
  148. label0000016C:
  149. 0000016C  4A03                     tst.b      D3
  150. 0000016E  660C                     bne        +0xE /* 0000017C */
  151. 00000170  2F0A                     move.l     -[A7], A2
  152. 00000172  2F0B                     move.l     -[A7], A3
  153. 00000174  4EBA FF76                jsr        [PC - 0x8A /* 000000EC */]
  154. 00000178  504F                     addq.w     A7, 8
  155. 0000017A  6020                     bra        +0x22 /* 0000019C */
  156. lab